/**
* Copyright (c) 2022 Beijing Jiaotong University
* PhotLab is licensed under [Open Source License].
* You can use this software according to the terms and conditions of the [Open Source License].
* You may obtain a copy of [Open Source License] at: [https://open.source.license/]
* 
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* 
* See the [Open Source License] for more details.
* 
* Author: Zhenjie Wei
* Created: Mar. 9, 2023
* Supported by: National Key Research and Development Program of China
*/

@import '../explorers/resource.scss';

@mixin phot-system-content-resource {
    height: 100%;
    flex-shrink: 0;
    .pui-drawer {
        border-radius: 0;
        &.show {
            width: $resource-drawer-width;
        }
        .pui-drawer_container {
            height: 100%;
            box-sizing: border-box;
            .pui-drawer_toolbar {
                .pui-drawer_toolbar__title {
                    font-weight: bold;
                    white-space: nowrap;
                }
            }
            .pui-drawer_content {
                padding: 0;
                box-sizing: border-box;
                .inner {
                    box-sizing: border-box;
                    .resource-drawer-content {
                        @include resource-drawer-content;
                    }
                }
            }
        }
    }
}

@mixin phot-system-content-resource-dark {
    .pui-drawer {
        &.show {
        }
        .pui-drawer_container {
            .pui-drawer_toolbar {
                .pui-drawer_toolbar__title {
                }
            }
            .pui-drawer_content {
                .resource-drawer-content {
                    @include resource-drawer-content-dark;
                }
            }
        }
    }
}
